// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';


export const getGoodsVoList = (params) => {
    return postRequest('/orderAppointVo/getPcDriverGoodInfoByPage', params)
}


export const addGoodsVo = (params) => {
    return postRequest('/goodsVo/save', params)
}

export const delGoodsVo = (params) => {
    return postRequest('/orderGoods/delGoods', params)
}



export const getAppointVoList = (params) => {
    return postRequest('/orderAppoint/getAppointVo', params)
}

export const addAppointVo = (params) => {
    return postRequest('/orderAppoint/save', params)
}


export const genAppoint = (params) => {
    return postRequest('/orderAppoint/genAppoint', params)
}


export const getOrderOrderList = (params) => {
    return postRequest('/orderVo/getOrderInfoByState', params)
}

export const addOrderOrder = (params) => {
    return postRequest('/orderGoods/publicGoods', params)
}

export const publicVehicle = (params) => {
    return postRequest('/orderVehicle/publicVehicle', params)
}


export const getCompanyInfoByUserIds = (params) => {
    return getRequest('/companyInfoVo/getCompanyInfoByUserIds', params)
}


export const getVehicle = (params) => {
    return getRequest('/orderVehicle/getVehicle', params)
}


export const getOrderVoInfo = (params) => {
    return getRequest('/orderVo/getOrderVoInfo', params)
}

export const changeOrderState = (params) => {
    return postRequest('/orderOrder/changeOrderState', params)
}

export const uploadOrderInfo = (params) => {
    return postRequest('/orderOrder/uploadOrderInfo', params)
}

export const genOrder = (params) => {
    return postRequest('/orderOrder/genOrder', params)
}

export const getOrderReceiptList = (params) => {
    return getRequest('/orderReceipt/getReceipt', params)
}

export const getReceiptList = (params) => {
    return postRequest('/orderReceipt/getReceiptList', params)
}

export const changeReceiptState = (params) => {
    return postRequest('/orderReceipt/changeReceiptState', params)
}

export const invoicing = (params) => {
    return postRequest('/orderReceipt/invoicing', params)
}

export const pcOpenReceipt = (params) => {
    return postRequest('/orderReceipt/pcOpenReceipt', params)
}

export const getPcOrderVehicleList = (params) => {
    return getRequest('/orderVehicle/getPcOrderVehicleList', params)
}


export const getTracks = (params) => {
    return getRequest('/orderTrack/getTracks', params)
}


export const getMobileTrack = (params) => {
    return getRequest('/orderTrack/getMobileTrack', params)
}


export const saveOrderExtend = (params) => {
    return postRequest('/orderExtend/saveOrderExtend', params)
}


export const updateOrderExtend = (params) => {
    return postRequest('/orderExtend/updateOrderExtend', params)
}

export const updateGoods = (params) => {
    return postRequest('/orderGoods/updateGoods', params)
}

export const updateGoodsStatus = (params) => {
    return postRequest('/orderGoods/updateGoodsStatus', params)
}

export const saveDetails = (params) => {
    return postRequest('/settleDetails/saveDetails', params)
}

export const getUserSettleDetails = (params) => {
    return getRequest('/settleDetails/getUserSettleDetails', params)
}

export const getCompanyEvaluateOrderId = (params) => {
    return postRequest('/orderEvaluate/getCompanyEvaluateOrderId', params)
}

export const saveCompanyEvaluate = (params) => {
    return postRequest('/orderEvaluate/saveCompanyEvaluate', params)
}


export const getDocumentApproval = (params) => {
    return postRequest('/orderVo/getDocumentApproval', params)
}


export const documentApproval = (params) => {
    return postRequest('/orderVo/documentApproval', params)
}

export const getPcFreeJoinDriverVo = (params) => {
    return postRequest('/actualCarrier/getPcFreeJoinDriverVo', params)
}

export const pcDdistributeLeaflets = (params) => {
    return postRequest('/orderVo/pcDdistributeLeaflets', params)
}


export const orderInvoicingEtc = (params) => {
    return postRequest('/shiBoOrder/orderInvoicingEtc', params)
}


export const getOrderAdjustmentList = (params) => {
    return postRequest('/orderPayRule/getOrderAdjustmentList', params)
}


export const deleteOrderAdjustment = (params) => {
    return postRequest('/orderPayRule/deleteOrderAdjustment', params)
}


export const saveOrderAdjustment = (params) => {
    return postRequest('/orderPayRule/saveOrderAdjustment', params)
}


export const settleOrderAdjustmentList = (params) => {
    return postRequest('/orderPayRule/settleOrderAdjustmentList', params)
}


export const updateAddressFence = (params) => {
    return postRequest('/orderOrder/updateAddressFence', params)
}
